package com.legendshop.openportal.sdk.model.request;


import com.legendshop.openportal.sdk.model.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import static com.legendshop.openportal.sdk.model.constants.ApiPathConstants.CONFIRM_RECEIVED;

/**
 * 确认收货
 *
 * @author LoengDakChu
 */
@Data
@ApiModel("确认收货请求")
public class OrderConfirmReceivedRequest extends BaseRequest {

	private static final long serialVersionUID = 397434749879436244L;

	/**
	 * 非空：是
	 * 订单号
	 */
	@ApiModelProperty("订单号")
	@NotBlank(message = "订单号不能为空")
	private String subNumber;

	@Override
	@ApiModelProperty(hidden = true)
	public String getApiPath() {
		return CONFIRM_RECEIVED;
	}
}
